<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script
    src="https://code.jquery.com/jquery-3.6.1.js"
    integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI="
    crossorigin="anonymous"></script>

    <title>Document</title>
    <input type="text" value="请输入你的内容">
    <script>
          $(function(){
           console.log($("div").html()) 
           console.log($("div").text())
           console.log($("input").val())
          })
    </script>
</head>
<body>
    <div>
        <span>你好呀，我是小赵</span>
    </div>
    
</body>
</html>